//
//  ZGLNewsModel.h
//  ZeegingLottery
//
//  Created by 李曌 on 2018/10/25.
//  Copyright © 2018 蒂埃里. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LYD_FMDBModel.h"

@class ZGLImageModel;
@interface ZGLNewsModel : LYD_FMDBModel

/*
 
 img =     {
 h = 365;
 t = "";
 u = "http://n.sinaimg.cn/sports/transform/215/w650h365/20181025/J5bs-hmxrkzw4048559.jpg";
 w = 650;
 };
 intime = 1540431324;
 intro = "对阵比尔森胜利，皇马终于赢下了一场比赛，结束了连续5场比赛的不胜。在比赛中，伊斯科在第54分钟被替换下场，当时伊斯科的口中念念有词，《每日体育报》称...";
 "ipad_vid" = 0;
 keywords = "伊斯科,洛佩特吉,皇马";
 "media_name" = "新浪体育";
 mediaid = 0;
 mlids = "";
 mtime = 1540431310;
 oid = 142397256;
 productid = 0;
 stitle = "皇马将帅失和?大将不满被换下";
 subjectid = "3177,2685,16778,3188,25477,16785";
 summary = "被换下场后，他感到不满，拒绝和教练握手，口中念念有词";
 templateid = 0;
 title = "皇马将帅失和?大将不满被换下 拒绝握手捂嘴抱怨";
 url = "http://sports.sina.com.cn/g/laliga/2018-10-25/doc-ihmxrkzw4064466.shtml";
 urls = "[\"http:\\/\\/sports.sina.com.cn\\/g\\/laliga\\/2018-10-25\\/doc-ihmxrkzw4064466.shtml\"]";
 vid = 0;
 "video_id" = "";
 "video_time_length" = 0;
 wapsummary = "被换下场后，他感到不满，拒绝和教练握手，口中念念有词";
 wapurl = "http://sports.sina.cn/laliga/realmadrid/2018-10-25/detail-ihmxrkzw4064466.d.html";
 wapurls = "[\"http:\\/\\/sports.sina.cn\\/laliga\\/realmadrid\\/2018-10-25\\/detail-ihmxrkzw4064466.d.html\"]";
 */
@property (nonatomic, copy) NSString *intime; //时间
@property (nonatomic, copy) NSString *url; //详情
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *media_name; //新闻来源
@property (nonatomic, strong) ZGLImageModel *img;

@end


@interface ZGLImageModel : LYD_FMDBModel <NSCoding>

@property (nonatomic, copy) NSString *u;
@property (nonatomic, assign) NSInteger h;
@property (nonatomic, assign) NSInteger w;


@end



